﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>::Happy - โทรศัพท์แบบเติมเงินจากดีแทค::</title>
<link href="${RESOURCE}/css/global.css" rel="stylesheet" type="text/css" />
<link href="${RESOURCE}/css/customize.css" rel="stylesheet" type="text/css" />
<script src="${RESOURCE}/scripts/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="${RESOURCE}/scripts/PageAction.js" type="text/javascript"></script>
<script src="${RESOURCE}/scripts/validator.js" type="text/javascript"></script>

<script language="JavaScript" type="text/JavaScript">
function doSubmit() {               // @When hit submit button.
    $.ajax({
        type : 'post',
        url : '${pageContext.request.contextPath}/DpromptCamel.do',
        data : 'fnc=DpromptCamel&action=register&subNumb=' + $('#subNumb').html() + '&email=' + $('#email').val(),
        success : function(data) {
            alert(data);
        }
    });
}
</script>
</head>
<body onLoad="doLoad()">
<div id="header">	
	<%@ include file="../head.jsp" %>
</div>

<div id="container">
        <div id="pathway">
            <a href="${pageContext.request.contextPath}/index.html"  class="link2">บริการผ่านเว็บ</a> &gt;
            <a href="${pageContext.request.contextPath}/index.html?page=Welcome" class="link2">ข้อมูลส่วนตัวและแพ็กเกจ</a> &gt;
            บริการแฮปปี้โกอินเตอร์
	</div>
	<div id="main">
    	<%@ include file="../menu.jsp" %>
    	<div id="content">
        	<div class="content-middle">
                
                <h3>
                    <img src="${RESOURCE}/tha/images/14_webservice_head01.gif" />
                </h3>
               	<table width="100%" cellpadding="2" cellspacing="2" height="500">
                    <tr>
                    	<td valign="top">
                            <div align="center">
                                <table id="table1" width="440" border="0" cellpadding="0">
                                    <tr>
                                        <td width="2%">
                                            <img src="${RESOURCE}/tha/images/14_webservice_bullet01.gif" width="9" height="9" />
                                        </td>
                                        <td width="98%" height="30" class="textnormal_bold">
                                            <img src="${RESOURCE}/tha/images/14_webservice_subtitle18.gif" />
                                        </td>
                                    </tr>
                                    <tr align="center" >
                                        <td >&nbsp;</td>
                                        <td  class="textnormalred_bold">
                                            <!--SVLT.VAR:MESSAGE-->
                                            <%= request.getParameter("email") %>
                                        </td>
                                    </tr>
                                    <!--SVLT.LOOP:MSG_SUBMIT-->
                                    <tr align="center" >
                                        <td>&nbsp;</td>
                                        <td class="textnormalred_bold">
                                            <br />
                                            <!--SVLT.VAR:MESSAGE_SUBMIT-->
                                        </td>
                                    </tr>
                                    <!--SVLT.END:MSG_SUBMIT-->
                                    <tr>
                                        <td>&nbsp;</td>
                                        <td align="center" class="textnormal">
                                            <table width="400" height="240" border="0" align="center" cellpadding="5" cellspacing="0">
                                                <tr align="center" valign="top">
                                                    <td>
                                                          <a href="javascript:void(0);" onclick="doSubmit();">
                                                              <img src="${RESOURCE}/tha/images/14_webservice_submit.gif" width="58" height="23" border="0"  />
                                                          </a>
                                                      </td>
                                                      <td>
                                                          <a href="${pageContext.request.contextPath}/index.html?page=Welcome">
                                                              <img src="${RESOURCE}/tha/images/14_webservice_cancel.gif" width="58" height="23" border="0" />
                                                          </a>
                                                      </td>
                                                  </tr>
                                              </table>
                                          </td>
                                      </tr>
                                      <tr>
                                          <td>&nbsp;</td>
                                          <td align="center" class="textnormal">
                                              <br />
                                              <br />
                                          </td>
                                      </tr>
                                </table>
                            </div>
                        </td>
                    </tr>
              	</table>
                
            </div>
            <div class="content-bottom"></div>
        </div>
    </div>
</div>
<div id="footer">
<img src="${RESOURCE}/tha/images/copy_right.jpg" />
<a href="http://www.dtac.co.th" target="_blank"><img src="${RESOURCE}/tha/images/dtact_logo.jpg" border="0" /></a>
<a href="http://www.happyvirus.com" target="_blank"><img src="${RESOURCE}/tha/images/virus_icon.jpg" border="0" /></a>
</div>
</body>
</html>
